import java.util.Scanner;

public class Homework_603_9 {
	public static void main(String[] args) {
		// 9:输入10个整数，输出最大的数
		Scanner input = new Scanner(System.in);
		System.out.println("请输入10个整数:");
		int num = input.nextInt();
		int max = num;
		for (int i = 0; i < 9; i++) {
			num = input.nextInt();
			max = num > max ? num : max;
		}
		System.out.println(max);
	}
}
